In This Topic
Reads a single value from the current stream and advances the current position within this stream by the number of bytes read.
Syntax
'Declaration
Public Overloads Function Read(Of As {New, Struct})() As
public Read<>()
where T: new(), struct
Type Parameters
- T
- The type of the value to be read from the stream.
Return Value
The value that was read.
Exceptions
Exception | Description |
System.NotSupportedException | This stream does not support reading. |
See Also